import 'package:flutter/cupertino.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:get/get_navigation/src/routes/transitions_type.dart';
import '../../pages/index.dart';
import 'index.dart';

// 路由 Pages
class RoutePages {

  static final RouteObserver<Route> observer = RouteObservers();

  static List<String> history = [];

  // 列表
  static List<GetPage> list = [

    GetPage(
      transition: Transition.rightToLeft,
      name: RouteNames.systemLogin,
      page: () => const LoginPage(),// 登录页面
    ),
    GetPage(
      transition: Transition.rightToLeft,
      name: RouteNames.systemRegister,
      page: () => const RegisterPage(),// 登录页面
    ),

  ];
  
}
